package com.ruoyi.common.utils.mail.domain;

import javax.validation.constraints.NotNull;

/**
 * @Author: MMDZ
 * @Desc:
 */
public class MailContent {
    private String toMail;// 收件人
    private String subject;// 主题
    private String content;// 发件内容

    @NotNull(message = "收件人不能为空")
    public String getToMail() {
        return toMail;
    }

    public void setToMail(String toMail) {
        this.toMail = toMail;
    }


    @NotNull(message = "主题不能为空")
    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    @NotNull(message = "发件内容不能为空")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
